#Requires AutoHotkey v2.0
#SingleInstance

Hotkey "Pause", MyFunc

MyFunc(ThisHotkey)
{
    Send "1Joy2"
}